package com.gzh.system.config;

import com.gzh.core.chche.service.CacheManage;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author
 * @version 1.00
 * @date 2020/5/14 11:28
 */
@Component
public class CacheManageInitializer implements InitializingBean {

    @Autowired
    private CacheManage cacheManage;

    @Override
    public void afterPropertiesSet () throws Exception {
        cacheManage.init();
    }
}
